package com.zx.email.service;

import Email.Dto.EmailDto;

import java.util.List;

public interface EmailService {
    List<EmailDto> findALlByCompanyId(Integer companyId);

    List<EmailDto> findALlByUserId(Integer userId);

    void sendEmail(EmailDto emailDto);

    void setRead(Integer id);
}
